package com.ithong.crm.mapper;

import com.ithong.crm.model.CourseOrder;
import com.ithong.crm.model.MonthIncome;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;


@Mapper
public interface CourseOrderMappper {

    public int findCountByMap(Map<String ,Object> map);

    public List<CourseOrder> findListByMap(Map<String ,Object> map);

    public int insert(CourseOrder courseOrder);

    public int delete(Integer id);

    public int update(CourseOrder courseOrder);

    public List<MonthIncome> getMonthIncomes();
}
